<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
</head>
<body>
<div id="app">
<h1>员工列表</h1>
    <el-table :data="arr" style="width: 600px">
        <el-table-column prop="name" label="名字" width="200"></el-table-column>
        <el-table-column prop="salary" label="工资" width="200"></el-table-column>
        <el-table-column prop="job" label="工作" width="200"></el-table-column>
    </el-table>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {
                arr:[{name:"张三",salary:5000,job:"销售"},
                    {name:"李四",salary:6000,job:"人事"},
                    {name:"王五",salary:7000,job:"程序员"}]
            }
        },
        methods:{

        }
    })
</script>
</html>